package com.ppyydd.sms.beans;

import java.io.Serializable;

public class Student implements Serializable {
    private String name;
    private int age;
    private double score;
    private Integer id;//业务相关主键和业务无关主键，此处为业务无关主键,写成Integer可以进行null的判断
    private String num;//学号
    private String password;

    public Student(String name, int age, double score, String num, String password) {
        this.name = name;
        this.age = age;
        this.score = score;
        this.id = id;
        this.num = num;
        this.password = password;
    }

    public Student() {
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
